import React from "react";
import { View } from "react-native";
import { BProps, BState, HeaderView, BaseComponent } from "../../index";
import { R } from '../../../core';

export interface IProps extends BProps {
  data?: any;
  actions?: any;
}

export default class OrderPage extends BaseComponent<IProps, BState> {
  constructor(props: IProps) {
    super(props);
  }

  render() {
    return (
      <View style={{ flex: 1, backgroundColor: R.color.white }}>
        <HeaderView
          componentId={this.props.componentId}
          title={this.props.title}
        />
      </View>
    );
  }
}
